package com.yn.pet.controller.pc.request;

import lombok.Data;
import org.checkerframework.checker.units.qual.N;

import javax.validation.constraints.NotNull;

@Data
public class FenceUpdateRequest {

    //围栏id
    @NotNull(message = "请选择围栏")
    private Long fenceId;

    /*//设备ID
    @NotNull(message = "请选择设备")
    private Long deviceId;*/

    //围栏名称
    @NotNull(message = "请输入围栏名称")
    private String fenceName;


    //中心纬度(圆形)
    private Double centerLat;

    //中心经度(圆形)
    private Double centerLng;

    //半径米(圆形)
    private Integer radius;

    //多边形顶点坐标(json)
    private String vertices;

    //围栏地址
    private String fenceAddress;
}
